package com.so206.mapper;

import com.so206.po.AlipayConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AlipayConfigMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AlipayConfig record);

    int insertSelective(AlipayConfig record);

    AlipayConfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AlipayConfig record);

    int updateByPrimaryKey(AlipayConfig record);

    List<AlipayConfig> find_by_page(@Param("status") Integer status, @Param("name") String name, @Param("mchid") String mchid, @Param("appid") String appid);

    List<AlipayConfig> selectByStatus(@Param("status") Integer status);


}